package org.rcy.ruicingmarket;

import org.rcy.ruicingmarket.common.utils.IdWorker;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author RuicyWu
 * @Description
 * @date 2022/2/8 15:25
 */
@MapperScan("com.rcy.activity.Repository")
@SpringBootApplication
public class ActivityApplication {
    @Bean
    public IdWorker idWorker(){
        return new IdWorker();
    }
    public static void main(String[] args) {
        SpringApplication.run(ActivityApplication.class,args);
    }
}
